package com.ruoyi.system.frontierCommand.mapper;

import com.ruoyi.system.frontierCommand.bo.TPatrolRecordQueryBo;
import com.ruoyi.system.frontierCommand.domain.TPatrolRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.frontierCommand.vo.TPatrolRecordVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 巡护记录Mapper接口
 *
 * @author ruoyi
 * @date 2021-05-20
 */
public interface TPatrolRecordMapper extends BaseMapper<TPatrolRecord> {
    /**
     * 查询记录
     * @param query
     * @return
     */
    List<TPatrolRecordVo> selectDTO(@Param("query") TPatrolRecordQueryBo query);

}
